package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 活动请假条增删改查对象 leave
 * 
 * @author hyb
 * @date 2023-02-26
 */
public class Leave extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 活动id */
    private Long activityId;

    /** 活动编号 */
    @Excel(name = "活动编号")
    private Long activityNumber;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 用户id */
    private Long userId;

    /** 请假人姓名 */
    @Excel(name = "请假人姓名")
    private String userName;

    /** 请假人电话 */
    @Excel(name = "请假人电话")
    private String userPhone;

    /** 请假人邮箱 */
    @Excel(name = "请假人邮箱")
    private String userEmail;

    /** 请假人性别 */
    @Excel(name = "请假人性别")
    private String userSex;

    /** 请假人学号 */
    @Excel(name = "请假人学号")
    private String userNumber;

    /** 请假理由 */
    @Excel(name = "请假理由")
    private String reason;

    /** 审批人id */
    private Long approverUserId;

    /** 请假开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 审批人姓名 */
    @Excel(name = "审批人姓名")
    private String approverName;

    /** 审批人电话 */
    @Excel(name = "审批人电话")
    private String approverPhone;

    /** 审批人邮箱 */
    @Excel(name = "审批人邮箱")
    private String approverEmail;

    /** 审批人性别 */
    @Excel(name = "审批人性别")
    private String approverSex;

    /** 审批人工号 */
    @Excel(name = "审批人工号")
    private String approverNumber;

    /** 请假结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date laseTime;

    /** 请假条状态0-未批准 1-已批准 2-已驳回 */
    @Excel(name = "请假条状态0-未批准 1-已批准 2-已驳回")
    private Long status;

    /** $column.columnComment */
    private String pf1;

    /** $column.columnComment */
    private String pf2;

    /** $column.columnComment */
    private String pf3;

    /** $column.columnComment */
    private String pf4;

    /** $column.columnComment */
    private String pf5;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId()
    {
        return activityId;
    }
    public void setActivityNumber(Long activityNumber) 
    {
        this.activityNumber = activityNumber;
    }

    public Long getActivityNumber() 
    {
        return activityNumber;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }
    public void setUserSex(String userSex) 
    {
        this.userSex = userSex;
    }

    public String getUserSex() 
    {
        return userSex;
    }
    public void setUserNumber(String userNumber) 
    {
        this.userNumber = userNumber;
    }

    public String getUserNumber() 
    {
        return userNumber;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setApproverUserId(Long approverUserId) 
    {
        this.approverUserId = approverUserId;
    }

    public Long getApproverUserId() 
    {
        return approverUserId;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setApproverName(String approverName) 
    {
        this.approverName = approverName;
    }

    public String getApproverName() 
    {
        return approverName;
    }
    public void setApproverPhone(String approverPhone) 
    {
        this.approverPhone = approverPhone;
    }

    public String getApproverPhone() 
    {
        return approverPhone;
    }
    public void setApproverEmail(String approverEmail) 
    {
        this.approverEmail = approverEmail;
    }

    public String getApproverEmail() 
    {
        return approverEmail;
    }
    public void setApproverSex(String approverSex) 
    {
        this.approverSex = approverSex;
    }

    public String getApproverSex() 
    {
        return approverSex;
    }
    public void setApproverNumber(String approverNumber) 
    {
        this.approverNumber = approverNumber;
    }

    public String getApproverNumber() 
    {
        return approverNumber;
    }
    public void setLaseTime(Date laseTime) 
    {
        this.laseTime = laseTime;
    }

    public Date getLaseTime() 
    {
        return laseTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPf1(String pf1) 
    {
        this.pf1 = pf1;
    }

    public String getPf1() 
    {
        return pf1;
    }
    public void setPf2(String pf2) 
    {
        this.pf2 = pf2;
    }

    public String getPf2() 
    {
        return pf2;
    }
    public void setPf3(String pf3) 
    {
        this.pf3 = pf3;
    }

    public String getPf3() 
    {
        return pf3;
    }
    public void setPf4(String pf4) 
    {
        this.pf4 = pf4;
    }

    public String getPf4() 
    {
        return pf4;
    }
    public void setPf5(String pf5) 
    {
        this.pf5 = pf5;
    }

    public String getPf5() 
    {
        return pf5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("activityNumber", getActivityNumber())
            .append("activityName", getActivityName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("userEmail", getUserEmail())
            .append("userSex", getUserSex())
            .append("userNumber", getUserNumber())
            .append("reason", getReason())
            .append("approverUserId", getApproverUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("startTime", getStartTime())
            .append("approverName", getApproverName())
            .append("approverPhone", getApproverPhone())
            .append("approverEmail", getApproverEmail())
            .append("approverSex", getApproverSex())
            .append("approverNumber", getApproverNumber())
            .append("laseTime", getLaseTime())
            .append("status", getStatus())
            .append("pf1", getPf1())
            .append("pf2", getPf2())
            .append("pf3", getPf3())
            .append("pf4", getPf4())
            .append("pf5", getPf5())
            .toString();
    }
}
